home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1996 June
/
Software of the Month Club 1996 June.iso
/
pc
/
os2
/
utility
/
clock
/
english.hlp
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1996-02-21
|
7KB
|
135 lines
ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
This program is a substantial revision of Charles Petzold's Clock program,
which can be found in his book, "Programming the OS/2 Presentation Manager". It
displays an analog clock, updated once per second.
For Frank's Nursery, this program has been modified to monitor system task
count or processing load and to change its border color according to the
current level.
The help facility is active, as you've already seen, and those program commands
that exist may be accessed via the window's system menu. The following
commands are available:
Save Defaults
Reset Defaults
Hide Controls
Configure...
About...
Auсer den schon beschriebenen Vorrichtungen akzeptiert das Programm auch
Kommandos von den OS/2 2.0-Programmen zur Farb- und Schriftartpalette.
ΓòÉΓòÉΓòÉ 2. Save Defaults (Menu Option) ΓòÉΓòÉΓòÉ
When you select this menu option, the program saves its current position and
the status of the Hide Controls option. The next time the program is started,
it will be started with that position and with the controls hidden (or not)
according to the saved state.
Note: The short-cut key for this command is F2.
ΓòÉΓòÉΓòÉ 3. Reset Defaults (Menu Option) ΓòÉΓòÉΓòÉ
Selecting this menu option will reset the program's font and color attributes
to their default values.
ΓòÉΓòÉΓòÉ 4. Hide Controls (Menu Option) ΓòÉΓòÉΓòÉ
This menu option, when selected, will cause the program's frame controls (the
system menu, the titlebar and the minimize button) to be hidden. This option
can be toggled with a double-click on either mouse button. Also, since I saw it
as very useful to be able to move the window while the controls were hidden,
the window has been set up so that you can drag it with either mouse button.
Note: The short-cut key for this command is Alt+H.
ΓòÉΓòÉΓòÉ 5. Configure (Menu Option) ΓòÉΓòÉΓòÉ
This menu option, when selected, will cause the program's configuration dialog
to be displayed.
Note: The short-cut key to this option is Alt+C.
ΓòÉΓòÉΓòÉ 6. Configure (Dialog) ΓòÉΓòÉΓòÉ
This dialog allows you to change all configurable aspects of this program's
operation. To escape without effecting any changes, press the ESCAPE key or
click on the Escape pushbutton. To save the changes you've made, press the
ENTER key or click on the OK pushbutton.
The configurable items include the following:
Clock Type The clock face can be either analog (with hands) or digital. When
the clock is iconized, the face is always analog.
24-Hour Clock The digital clock can display time either as a 24-hour
military-style time, from 00:00 to 23:59, or as a 12-hour civilian time, with
'am' and 'pm' appended to the numeric time.
Hide Controls When the clock is not iconized, it can be show with or without
the usual title bar, system menu and minimize/maximize buttons. If you chose
to hide these controls, the sizing border remains. The window may be
positioned by dragging its center area. It may be resized by dragging any of
the four borders or the corners.
Chime This button activates an hourly chime function. When this button has
been check-marked, the clock will beep twice at the top of every hour.
Float to Top This button activates an window's float-to-top function. When this
button has been check-marked, the clock will float to the top of the window
stack, making itself visible all the time.
Animate This button activates the window open close animation feature. When
this is active, the program window will open and close in the same way as the
folder objects do: with sound and motion. As with folders, animation will not
occur unless it has been enabled at the system level.
Alert Type The clock's border changes color according to system load or task
count. You may select which item it will monitor.
Alert Levels You may adjust the task counts or CPU load levels at which the
clock's border will change from green to yellow and from yellow to red. Use
the up or down arrows to adjust the values, or use the mouse to press the up or
down buttons to the right of the values.
ΓòÉΓòÉΓòÉ 7. About (Menu Option) ΓòÉΓòÉΓòÉ
This menu option, when selected, will cause the program's About dialog to be
displayed.
ΓòÉΓòÉΓòÉ 8. About (Dialog) ΓòÉΓòÉΓòÉ
This dialog box displays the program name, icon and copyright information. To
exit the dialog, press the ENTER key, the SPACE bar or the ESCAPE key.
ΓòÉΓòÉΓòÉ 9. Keys Help ΓòÉΓòÉΓòÉ
The following function keys have been defined for this program:
F1 - Help
F2 - Save Defaults
F3 - Exit
Alt+H - Hide Controls
Alt+C - Configure
ΓòÉΓòÉΓòÉ 10. Set Profile Path ΓòÉΓòÉΓòÉ
This dialog is displayed when the program cannot find its profile (INI) file,
and asks you where the file is or where it is to be created.
Only a valid existing directory name will be accepted. Once you have entered
the name, press the ENTER key or click on the OK button for the program to
continue.
If you wish to abort the program's initialization sequence, press the ESC key
or click on the escape button.